package com.qqtech.qquan.sys.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class SysMenu extends BaseDomain{

	//columns START
    /** 菜单名称 */
	private java.lang.String name;
    /** 菜单链接 */
	private java.lang.String url;
    /** 菜单id */
	private java.lang.String menuId;
    /** menuId的上级id */
	private java.lang.String parentId;
    /** 类型:1-目录;2-叶子 */
	private java.lang.Integer type;
    /** 形状:0-收缩;1-扩展 */
	private java.lang.Integer expand;
    /** 排序 */
	private java.lang.Long orderIdx;
    /** 图标(默认) */
	private java.lang.String icon;
    /** 打开图标 */
	private java.lang.String iconOpen;
    /** 创建人id */
	private java.lang.Integer userId;
    /** 备注 */
	private java.lang.String remark;
    /** 状态:0-启用;1-禁用 */
	private java.lang.Integer status;
	//columns END
	public SysMenu(){
	}

	public SysMenu( java.lang.Integer id ){
		this.id = id;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setUrl(java.lang.String url) {
		this.url = url;
	}

	public java.lang.String getUrl() {
		return this.url;
	}
	
	public void setMenuId(java.lang.String menuId) {
		this.menuId = menuId;
	}

	public java.lang.String getMenuId() {
		return this.menuId;
	}
	
	public void setParentId(java.lang.String parentId) {
		this.parentId = parentId;
	}

	public java.lang.String getParentId() {
		return this.parentId;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public void setExpand(java.lang.Integer expand) {
		this.expand = expand;
	}

	public java.lang.Integer getExpand() {
		return this.expand;
	}
	
	public void setOrderIdx(java.lang.Long orderIdx) {
		this.orderIdx = orderIdx;
	}

	public java.lang.Long getOrderIdx() {
		return this.orderIdx;
	}
	
	public void setIcon(java.lang.String icon) {
		this.icon = icon;
	}

	public java.lang.String getIcon() {
		return this.icon;
	}
	
	public void setIconOpen(java.lang.String iconOpen) {
		this.iconOpen = iconOpen;
	}

	public java.lang.String getIconOpen() {
		return this.iconOpen;
	}
	
	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

